package cn.tedu.front.job.dao.persist.repository;

import cn.tedu.common.pojo.vo.PageData;
import cn.tedu.front.job.pojo.entity.Position;
import cn.tedu.front.job.pojo.vo.*;
import cn.tedu.zhaopin.protocol.position.vo.PositionSimpleVO;

public interface IPositionRepository {

    Long addNew(Position position);


    int updateInfoById(Position position);

    void deleteById(Long id);

    PositionDetailVO getStandardById(Long id);

    PageData<PositionSimpleVO> list(Long userId, Integer pageNum, Integer pageSize);

    RecruiterStanderVO getRecruiterByUserId(Long userId);


    JobCategoryByIdVO getCategoryById(Long jobTypeId);

    PageData<PositionSimpleVO> listSearch(Integer pageNum, Integer pageSize);
}
